package com.own.business.exam.entity.query;


import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * ExamRuleQuery
 *
 * @author chenxueli
 * @date 2021/05/18 14:43:47
 */
@Schema(title = "考试规则表" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ExamRuleQuery extends BaseQuery {

    @Schema(title = "考试id")
    private Long examId;

    @Schema(title = "规则名称")
    private String name;

    @Schema(title = "规则类型 1=指定试卷（所有使用这个规则的考试都会使用指定的试卷进行答题，指定的试卷可以是多份） 2=随机试卷（试卷内容根据规则全随机） 3=弱项试卷（会根据个人的错题内容进行按筛选符合的试卷）")
    private Integer type;

    @Schema(title = "是否指定账号 1=指定 0=不指定")
    private Integer isAssignAccount;

    @Schema(title = "是否指定人数 1=指定 0=不指定")
    private Integer isAssignNumber;

}
